package com.ruoyi.system.domain.dto;

import com.ruoyi.system.domain.BdmReceiveAddress;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Validated
public class BdmOrderPayDto {
    /**
     * 订单id
     */
    @NotBlank(message = "订单号为空")
    private String orderId;

    /**
     * 支付密码
     */
    private String payCode;


    /**
     * 支付方式
     */
    @NotNull(message = "支付方式为空")
    private Long payMode;


    /**
     * 用户地址
     */
    private BdmReceiveAddress bdmReceiveAddress;

    /**
     * 备注
     */
    private String remark;

    private String fakeId;

    private String nativeId;
}
